package com.dpstudio.ymprestlful.service.topic;

import com.intellij.util.messages.Topic;

/**
 * @Author: mengxiang.
 * @Date: 2020/6/22.
 * @Time: 11:37 上午.
 * @Description:
 */
public interface RefreshServiceTreeTopic extends RestTopic<Void> {

    Topic<RefreshServiceTreeTopic> TOPIC = Topic.create("RestTopic.Refresh-ServiceTreeTopic", RefreshServiceTreeTopic.class);

    /**
     * action
     *
     * @param data data
     * @see RefreshServiceTreeTopic#refresh()
     */
    @Deprecated
    @Override
    default void action(Void data) {
    }

    /**
     * refresh
     */
    void refresh();
}
